﻿using CommonType;
using MediatR;
using S_Incident.Domains.WorkflowEngine;
using SqlSugar;

namespace S_Incident.API.Application.Commands
{
    public class ProcessSqlSuageCreateCommand: BaceEntity,IRequest<ApiResule<int>>
    {
        /// <summary>
        /// 流程名称
        /// </summary>
        [SugarColumn(ColumnDescription = "流程名称", Length = 200, IsNullable = true)]
        public string? ProcessName { get; set; }
        /// <summary>
        /// 对应描述
        /// </summary>
        [SugarColumn(ColumnDescription = "对应描述", Length = 200, IsNullable = true)]
        public string? ProcessDescription { get; set; }
        /// <summary>
        /// 显示顺序
        /// </summary>
        public int DisplaySequence { get; set; }
        /// <summary>
        /// 是否有效
        /// </summary>
        [SugarColumn(ColumnDataType = "INT", IsNullable = false)]
        public Effective WhetherEffective { get; set; }
        /// <summary>
        /// 流程提醒
        /// </summary>
        [SugarColumn(ColumnDescription = "流程提醒", Length = 200, IsNullable = true)]
        public string? ProcessReminder { get; set; }
        /// <summary>
        /// 显示内容
        /// </summary>
        [SugarColumn(ColumnDataType = "INT", IsNullable = false)]
        public DisplayContent Content { get; set; }
        /// <summary>
        /// 表单管理Id
        /// </summary>
        public int FormId { get; set; }
       

    }
}
